Number Type Converter 128-bit
0
1
2
3
4
5
6
7
8
9
-
.
A
B
C
D
E
F
←
Convert
RST
i
All weights are Hi → Lo :
Binary [0-1]
2ⁿ ... 2² 2¹ 2⁰
Octal [0-7]
8ⁿ ... 8² 8¹ 8⁰
Decimal [0-9]
10ⁿ ... 10² 10¹ 10⁰
Hexadecimal [0-9][A-F]
16ⁿ ... 16² 16¹ 16⁰
Value range for each data type :
Int8
aka
SByte
or
SINT
[8-bit]
-128
to
127
UInt8
aka
Byte
or
USINT
[8-bit]
0
to
255
Int16
aka
Short
or
INT
[16-bit]
-32,768
to
32,767
UInt16
aka
UShort
or
UINT
or
WORD
[16-bit]
0
to
65,535
Int32
aka
Integer
or
DINT
[32-bit]
-2,147,483,648
to
2,147,483,647
UInt32
aka
UInteger
or
UDINT
or
DWORD
[32-bit]
0
to
4,294,967,295
Int64
aka
Long
or
LINT
[64-bit]
-9,223,372,036,854,775,808
to
9,223,372,036,854,775,807
UInt64
aka
ULong
or
ULINT
or
LWORD
[64-bit]
0
to
18,446,744,073,709,551,615
Int128
[128-bit]
−2¹²⁷
to
2¹²⁷ − 1
UInt128
[128-bit]
0
to
2¹²⁸ − 1
Float32
aka
Single
or
REAL
[32-bit]
-3.4028235E+38
to
-1.401298E-45
1.401298E-45
to
3.4028235E+38
Float64
aka
Double
or
LREAL
[64-bit]
-1.79769313486231570E+308
to
-4.94065645841246544E-324
4.94065645841246544E-324
to
1.79769313486231570E+308
Float parser will complete parsing the string as a number if it encounters an invalid character as per standard number rules
Hover over number type labels for additional info
Binary
Hex
Octal
Int8
UInt8
Int16
UInt16
Int32
UInt32
Int64
UInt64
Int128
UInt128
Float32
Float64
UInt128
Int128
UInt64
Int64
UInt32
Int32
UInt16
Int16
UInt8
Int8
Octal
Hex
Binary
Float32
Float64
BinF32
BinF64